package com.qianniu.napi.common.config;

public class WebChatConstants {

    public static String APPID = "wx9cd8c04b5cb27bdc";
    public static String APPSECRET = "646a968c7e66862640bba020f89ad429";

    public static String REDIRECT_URL = "http://admin.qianniu010.com/test/wxredirect/";

    public static String REGIST_URL = "http://admin.qianniu010.com/test/regist";

    public static String GET_OPENID_URL = "https://open.weixin.qq.com/connect/oauth2/authorize?redirect_uri=REDIRECT_URI&appid=APPID&response_type=code&scope=snsapi_base&state=1#wechat_redirect";

    public static String GET_OAUTH2_URL = "https://open.weixin.qq.com/connect/oauth2/authorize?redirect_uri=REDIRECT_URI&appid=APPID&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect";

    public static String OAuth2_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=APPSECRET&code=CODE&grant_type=authorization_code";
}
